<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/header.jsp"%>
<c:set var="path" value="..${ctx}/common"/>

<div class="pageContent" >
	<div class="pageHeader">
		<form id="bs_role_list" onsubmit="return navTabSearch(this);" action="${path}/search.html?tableName=SYS_ROLE&tableAction=list&jsp=base/role/list" method="post">
		<div class="searchBar">
			<table class="searchContent">
				<tr>
					<td>角色名称：</td>
					<td>
						<input type="text" name="ROLE_NAME" value="${ROLE_NAME}" />
						<input type="hidden" name="ROLE_NAME_link" value="like" />
					</td>
					<td>
						<div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
					</td>
				</tr>
			</table>
		</div>
		</form>
	</div>

	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="${path}/view.html?jsp=base/role/edit" target="dialog" rel="dlg_page10" mask="true" title="添加角色信息" width="500" height="340" ><span>添加</span></a><br /><br /></li>
			<li class="line">line</li>
			<li><a class="edit" href="${path}/search.html?tableAction=load&tableName=SYS_ROLE&jsp=base/role/edit&ROLE_CODE={userID}" target="dialog" rel="dlg_page11" mask="true" title="修改角色信息"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="delete" href="${path}/update.html?tableName=SYS_ROLE&tableAction=delete&ROLE_CODE={userID}&navTabId=bs_role_list" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="110">
		<thead>
			<tr>
				<th width="80">角色编号</th>
				<th width="80">角色名称</th>
				<th width="120">角色说明</th>
			</tr>

		</thead>
			<tbody>
			<c:if test="${! empty list }">
			<c:forEach var="vo" items="${list}">
			<tr target="userID" rel="${vo.ROLE_CODE}">
				<td>${vo.ROLE_CODE}</td>
				<td>${vo.ROLE_NAME}</td>
				<td>${vo.ROLE_DESCRIPTION}</td>
			</tr>
			</c:forEach>
			</c:if>
		</tbody>
	</table>

</div>
